package com.fmx.BookStore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fmx.BookStore.domain.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    Role selectRoleById(Long roleId);
    List<Role> listRole(Role role);
    int insertRole(Role role);
    int updateRole(Role role);
    int deleteRole(Long roleId);
}
